GET api/travel/day/sibling/camper?personIds[0]={personIds[0]}&personIds[1]={personIds[1]}

Retrieves sibling identifiers for the specified campers. Returns a mapping of camper person IDs to their sibling person IDs.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personIds

Array of camper person identifiers to retrieve sibling IDs for. Query string parameter. Required.

Collection of integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns HTTP 200 (OK) with a dictionary mapping person IDs to lists of sibling person IDs.

Dictionary of integer [key] and Collection of integer [value]

Response Formats

application/json, text/json

Sample:
{
  "1": [
    1,
    2
  ],
  "2": [
    1,
    2
  ]
}

application/javascript

Sample:
{"1":[1,2],"2":[1,2]}